import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import * as ol from 'ol';

Vue.use(ElementUI);

Vue.config.productionTip = false

var cesium = require('cesium/Cesium');
var widgets= require('cesium/Widgets/widgets.css');

window.Cesium=cesium;
window.cesium=cesium;

import "cesium-draw/dist/theme/default.css";

Vue.prototype.cesium = cesium
Vue.prototype.widgets = widgets
Vue.prototype.ol=ol

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
